﻿//
// GNS_GameDown.h
// MobileManageSys
//FuncTion 游戏下载
// Created by mr.l on 16/1/14.
//
//

#ifndef __MobileManageSys__GNS_GameDown__
#define __MobileManageSys__GNS_GameDown__

#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "QR_Encode.h"
#include "GNS_MakeLayer.h"
USING_NS_CC;
using namespace cocostudio::timeline;
using namespace ui;

class GNS_GameDown : public Layer
{
public:
    GNS_GameDown();
    ~GNS_GameDown();
    static GNS_GameDown* createLayer();
    virtual bool init();
    CREATE_FUNC(GNS_GameDown);
    void BtnCallBack(Ref *pSender , ui::Widget::TouchEventType type);
    void SetNodeName(std::string CsbName);
    void SetQRImagManage(std::string URLManage);
    void SetQRImagGameHall(std::string URLManage);
    void ShowQRImage();
private:
    Node * pGNS_GameDown;
    CQR_Encode m_QREncode;
    GNS_MakeLayer * pMakeLayer;
    std::string ManageStr;
    std::string GameHallStr;
private:
   };

#endif /* defined(__MobileManageSys__GNS_GameDown__) */